package com.resys.mappers;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 *  数据库操作接口
 */
@Mapper
public interface CancellationrequestMapper<T,P> extends BaseMapper<T,P> {

	/**
	 * 根据CancellationId更新
	 */
	 Integer updateByCancellationId(@Param("bean") T t,@Param("cancellationId") Integer cancellationId);


	/**
	 * 根据CancellationId删除
	 */
	 Integer deleteByCancellationId(@Param("cancellationId") Integer cancellationId);


	/**
	 * 根据CancellationId获取对象
	 */
	 T selectByCancellationId(@Param("cancellationId") Integer cancellationId);


}
